package com.ysstech.valuation.feign;


import com.ysstech.common.entity.TreeNode;
import com.ysstech.valuation.feign.entity.Balance;
import com.ysstech.valuation.feign.entity.Subject;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;


@Slf4j
@Component
public class FeignFinanceServiceFallback implements FeignFinanceService {


    public List<TreeNode> queryAccountTreeByType(String orgId, Integer fundType, Integer type) {
        log.error("获取基金信息失败，请稍后重试！");
        return null;
    }


    public Map<String, Subject> getSubjectMap() {
        log.error("获取科目信息失败，请稍后重试！");
        return null;
    }

    public List<Balance> queryBalanceByValuation(String accountId, String fdate) {
        log.error("获取余额表信息失败，请稍后重试！");
        return null;
    }
}
